package com.example.abbitmqtest.mapper;

import com.example.abbitmqtest.entity.Order;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderMapper {
    // 插入订单
    int insert(Order order);
    
    // 更新订单
    int update(Order order);
    
    // 根据订单号查询订单
    Order selectByOrderNo(String orderNo);
}